package com.sunwayworld.basemodule.business.batchrevise.dao.impl;

import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sunwayworld.basemodule.business.batchrevise.bean.LimsBatchSampleTempBean;
import com.sunwayworld.basemodule.business.batchrevise.dao.LimsBatchSampleTempDao;
import com.sunwayworld.basemodule.business.batchrevise.mapper.LimsBatchSampleTempMapper;
import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import com.sunwayworld.framework.spring.annotation.GikamBean;

import java.util.List;
import java.util.Map;

@Repository
@GikamBean
public class LimsBatchSampleTempDaoImpl extends MybatisDaoSupport<LimsBatchSampleTempBean, Long> implements LimsBatchSampleTempDao {

    @Autowired
    private LimsBatchSampleTempMapper limsBatchSampleTempMapper;

    @Override
    public LimsBatchSampleTempMapper getMapper() {
        return limsBatchSampleTempMapper;
    }

    @Override
    public List<Map<String, Object>> selectBatchSampleInfo(MapperParameter parameter) {
        return getMapper().selectBatchSampleInfo(parameter);
    }
}
